package com.example.framework.excel.exmple;

import com.example.framework.excel.annotation.ExcelSheet;
import com.example.project.entity.GoodsBean;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * sheet
 * 导入导出测试
 * @author gx
 * @date 2021/6/11 9:47
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ManySheets {
    /**
     * sheetNum：从0开始
     * titleRow：从0开始
     * row：从0开始
     * column：从0开始
     */
    @ExcelSheet(sheetNum = 0, sheetName = "商品列表")
    public List<GoodsBean> goodsBeanList;

    @ExcelSheet(sheetNum = 1, sheetName = "商品列表1")
    public List<GoodsBean> goodsBeanList1;

}
